import axios from "~/axios";
export function getfood(user_id,page,per_page){
    return axios.post("/getfood",{user_id,page,per_page})
}
export function deletefood(id){
    return axios.post("/deletefood",id)
}
export function editfood(form){
    return axios.post("/editfood",form)
}
export function getrecipe(user_id,page,per_page){
    return axios.post("/getrecipe",{user_id,page,per_page})
}
export function deleterecipe(id){
    return axios.post("/deleterecipe",id)
}
export function editrecipe(form){
    return axios.post("/editrecipe",form)
}